// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
// 导入轮播插件
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'

// 重置一些默认样式 和手机的边框问题
import 'styles/reset.css'
import 'styles/border.css'

// 导入iconfont图标文件
import 'styles/iconfont.css'

// 解决手机点击时的300ms的延迟
import fastClick from 'fastclick'

Vue.config.productionTip = false
// 将vue轮播插件绑定到vue上
Vue.use(VueAwesomeSwiper)
fastClick.attach(document.body)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: {
    App
  },
  template: '<App/>',
  store
})
